export default {
    isLogin(state: any) {
        return !!state.userInfo.token && !!localStorage.getItem('token')
    },
    sideBarMenu(state: any) {
        return state.menu
    }
}